package com.link2room.optimus.config.descript;

import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Configuration;
import org.springframework.context.annotation.PropertySource;

import java.util.HashMap;
import java.util.Map;

/**
 * Created by sss on 2017/3/29.
 */
@Configuration
@ConfigurationProperties(prefix = "baseRateplan")
@PropertySource("classpath:optimus-mapping-descript.properties")
public class BaseRateplanDescriptConfiguration {
    public static Map<String, String> payType = new HashMap<>();

    public static Map<String, String> pbChannel = new HashMap<>();

    public Map<String, String> getPayType() {
        return payType;
    }

    public void setPayType(Map<String, String> payType) {
        BaseRateplanDescriptConfiguration.payType = payType;
    }

    public Map<String, String> getPbChannel() {
        return pbChannel;
    }

    public void setPbChannel(Map<String, String> pbChannel) {
        BaseRateplanDescriptConfiguration.pbChannel = pbChannel;
    }
}
